Skip to content

fix(api): make getFileList respect skipSnackbar#336

Open
AnranYus wants to merge 1 commit intocloudreve:masterfrom
AnranYus:master
Open

fix(api): make getFileList respect skipSnackbar#336
AnranYus wants to merge 1 commit intocloudreve:masterfrom
AnranYus:master

Conversation

@AnranYus
Copy link
Copy Markdown

@AnranYus AnranYus commented Apr 8, 2026

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 8, 2026

CLA assistant check
All committers have signed the CLA.

@YUDONGLING
Copy link
Copy Markdown
Member

@AnranYus Do they have any relationship?

@AnranYus
Copy link
Copy Markdown
Author

AnranYus commented Apr 8, 2026

@AnranYus Do they have any relationship?

This will now trigger a toast notification when a downloaded file is deleted, providing a meaningful prompt for the user, I think this is also the original reason why this parameter was introduced.

@YUDONGLING
Copy link
Copy Markdown
Member

YUDONGLING commented Apr 8, 2026

We already have this? This also applies when you enter from saved short link.

截屏2026-04-09 03 24 18

@AnranYus
Copy link
Copy Markdown
Author

AnranYus commented Apr 9, 2026

We already have this? This also applies when you enter from saved short link.

截屏2026-04-09 03 24 18
image

Your screenshot shows that when a shared file is deleted, the sharing link becomes invalid automatically after it has been opened, which is working as expected. However, in the following flow — open the sharing link → save the file → delete the original file — the saved shortcut does not become invalid accordingly. When the user clicks Download, the only indication that the file has been deleted is the returned HTTP response.

Copy link
Copy Markdown
Member

@YUDONGLING YUDONGLING left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pro version has already included this in the previous versions, fix to Community verison only.

@YUDONGLING
Copy link
Copy Markdown
Member

We already have this? This also applies when you enter from saved short link.
截屏2026-04-09 03 24 18

image Your screenshot shows that when a shared file is deleted, the sharing link becomes invalid automatically after it has been opened, which is working as expected. However, in the following flow — open the sharing link → save the file → delete the original file — the saved shortcut does not become invalid accordingly. When the user clicks Download, the only indication that the file has been deleted is the returned HTTP response.

Yes in Pro version this is included, but seems missing in Community verison.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

After deleting the file, it still exists in "Shared with Me" And "My Files"

3 participants